<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="/ui/jsp/includes/noNavHeader.jspf"%>

<script src="<%=request.getContextPath()%>/ui/js/jquery.js"></script>
<%-- <script src="<%=request.getContextPath()%>/ui/js/paginate.js"></script> --%>
<%-- <script src="<%=request.getContextPath()%>/ui/js/customPaginate.js"></script> --%>
<script src="<%=request.getContextPath()%>/ui/js/jquery.dataTables.min.js"></script>
<script src="<%=request.getContextPath()%>/ui/js/customDataTables.js"></script>


<div class="hero-unit secondary_container">
    <div id="table-subject-header">
        View Faculty Research List
    </div>
        <hr>

    <div class="row-fluid">
    <form method="POST" id="viewFacultyResearchForm">
             
                <div class="span10">

            <table id='dataTableList' class="table table-striped table-bordered">
                <thead>
                    <tr>
                        
                        <th>Research Title</th>
                        <th>Faculty Member</th>
                        <th>Category</th>
                        <th>Research URL</th>
                        <th style="display:none;">Description</th>
                        <th>Status</th>
                    </tr>
                </thead>
                <tbody>

                    <c:forEach var="facultyResearch" items="${facultyResearchList}">
                        <tr class="paginationList">
                        	
                            <td>${facultyResearch.title}</td>
                            <td>${facultyResearch.faculty.firstName}&nbsp;${facultyResearch.faculty.lastName}</td>
                            <td>${facultyResearch.category.categoryName}</td>
                            <td>${facultyResearch.researchUrl}</td>
                            <td style="display:none;">${facultyResearch.description}</td>
                            <td>${facultyResearch.status}</td>
                        </tr>
                    </c:forEach>
                </tbody>

            </table>
            
            <div class="pagination">
            </div>
            
        </div>
        <input type="hidden" id="facultyResearchId" name="facultyResearchId" value=""/>
		</form>
    </div>
</div>

<%@include file="/ui/jsp/includes/footer.jspf"%>
